<!DOCTYPE html>
<html>
<head>
  <link rel="stylesheet" href="resources/media-query-with-cached-sheet-screen.css">
  <link rel="stylesheet" href="resources/media-query-with-cached-sheet-print.css" media="print">
<script>
if (window.testRunner) {
    testRunner.waitUntilDone();
    if (0 < window.location.toString().indexOf("#back")) {
        testRunner.notifyDone();
    } else {
        window.setTimeout(function() {
            window.location = "resources/media-query-with-cached-sheet-next.html";
        }, 0);
    }
}
</script>
</head>
<body><div id="screen-only">PASS: Should be visible.</div><div id="print-only">FAIL: Should NOT be visible.</div></body>
</html>
